var Tools = {
  getRandom: function (min, max) {
    return Math.floor(Math.random() * (max - min + 1)) + min;
  },
};
function Box(options) {
  options = options || {};
  this.backgronudColor = options.backgronudColor || "red";
  this.width = options.width || 20;
  this.height = options.height || 20;
  this.x = options.x || 0;
  this.y = options.y || 0;
  // 创建对应的div
  this.div = document.createElement("div");
  parent.appendchild(this.div);
  this.parent = parent;
  // 设置div样式
  this.init();
}
// 初始化div(方块)的样式
Box.prototype.init = function () {};
